using System;
using System.Collections.Generic;
using System.Text;
using CMS.Core.DataInterfaces;
using CMS.Core.Domain;

namespace CMS.Presenters.Presenters.Template
{
    public class LeftMenuPresenter
    {
        private IMenuView menuView;
        private IBaiVietTheLoaiDao objDao;

        public LeftMenuPresenter(IMenuView menuView, IBaiVietTheLoaiDao theloaiDao)
        {
            this.menuView = menuView;
            this.objDao = theloaiDao;
        }
        public List<BaiVietTheLoai> GetMenuView()
        {
            return objDao.GetAllWithMoreFieldsAndOderBy(true, new string[] { "TrangThai" }, new object[] { true }, new string[] { "TheLoaiCha", "ThuTu" }, true);
        }
    }
}
